package com.livery.data;

import java.util.ArrayList;
import java.util.List;

public class Client extends User{

	private String mail;
	private String documentID;
	private long PIN;
	private String street;
	private String city;
	private String postalCode;
	private List<Transaction> transactions;
	private int discount;
	
	public Client(){
		transactions = new ArrayList<Transaction>();
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getDocumentID() {
		return documentID;
	}

	public void setDocumentID(String documentID) {
		this.documentID = documentID;
	}

	public long getPIN() {
		return PIN;
	}

	public void setPIN(long pIN) {
		PIN = pIN;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getPostalCode() {
		return postalCode;
	}

	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}

	public List<Transaction> getTransactions() {
		return transactions;
	}

	public void addTransactions(Transaction transaction) {
		transactions.add(transaction);
	}

	public int getDiscount() {
		return discount;
	}

	public void setDiscount(int discount) {
		this.discount = discount;
	}
	
}
